Azure Maps Style Service (stable:2023-07-01)

2025/10/06 • 5 deleted methods

Style_Create (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Style Create request allows the caller to create an Azure Maps style. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator. ## Submit Create Request To create your style you will make a `POST` request with an azure maps style. The Create Style API is a [long-running operation](https://aka.ms/am-creator-lrt-v2).
Reference Link ¶

⚼ Request

POST:  /styles
{
x-ms-client-id: string ,
api-version: string ,
description: string ,
CreateContent: object ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Style_List (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Style List request allows the caller to fetch a list of all styles created. The default indoor style `microsoft-maps:indoor_2022-01-01` and `microsoft-maps:indoor_dark_2022-01-01` will not show in the list response. But you can still use it as your own style by the predefined alias. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator.
Reference Link ¶

⚼ Request

GET:  /styles
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
styles:
[
{
styleId: string ,
description: string ,
created: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Style_Get (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Style Get request allows the caller to get a style. Customers can get two predefined default styles using alias `microsoft-maps:indoor_2022-01-01` for indoor light and `microsoft-maps:indoor_dark_2022-01-01` for indoor dark. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator.
Reference Link ¶

⚼ Request

GET:  /styles/{styleId}
{
x-ms-client-id: string ,
api-version: string ,
styleId: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Style_Delete (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Style Delete request allows the caller to remove a style from their Azure Maps account.
### Submit Delete Request An `HTTP DELETE` request with the `styleId` in the path of the request is required to remove an existing style from your Azure Maps account.
#### Delete request "Successful" The Style Delete API returns a HTTP `204 No Content` response with an empty body, if the style was deleted successfully.
#### Delete request "Failed" A HTTP `400 Bad Request` error response will be returned if the style with the passed-in `styleId` is not found. Here is a sample error response:
```json { "error": { "code": "400 BadRequest", "message": "Bad request - Style Id: d85b5b27-5fc4-4599-8b50-47160e90f8ce does not exist." } } ```
Reference Link ¶

⚼ Request

DELETE:  /styles/{styleId}
{
x-ms-client-id: string ,
api-version: string ,
styleId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Style_GetOperation (removed)
Description The Style Get Operation request is obtained from the call to create a style. It is returned in the response headers Resource-Location key once the creation process has completed successfully.
Reference Link ¶

⚼ Request

GET:  /styles/operations/{operationId}
{
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
$headers:
{
resource-location: string ,
}
,
$schema:
{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}